.PHONY:all
all:calclient calserver

calclient:CalClient.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp
calserver:CalServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f calclient calserver